package com.taptech.doufu.ui.activity

import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.view.GestureDetector
import android.view.MotionEvent
import android.view.View
import com.taptech.doufu.R
import com.taptech.doufu.constant.Constant
import com.taptech.doufu.constant.HomePageType
import com.taptech.doufu.ui.activity.base.DiaobaoBaseActivity
import com.taptech.doufu.ui.fragment.*
import com.trello.rxlifecycle.components.support.RxAppCompatActivity
import rx.Observable
import java.util.concurrent.TimeUnit

class NovelCopyRightActivity : DiaobaoBaseActivity(){



    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_novel_copy_right)
        val fragment = NovelCopyRightFragment()
        val ft = supportFragmentManager.beginTransaction()
        ft.add(R.id.layContent, fragment, "NovelCopyrightFragment")
        ft.commit()
    }



    companion object{
        fun startActivity(context: Context) {
            val intent = Intent(context, NovelCopyRightActivity::class.java)
            context.startActivity(intent)
        }
    }
}